// 案件定时跟进相关接口
import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/tjzy/trace/` + url, ...arg)
export default {
	//定时跟进列表
	pageTracePlan(data) {
		return request('pageTracePlan', data, 'post')
	},
	// 添加跟进计划
	addTracePlan(data) {
		return request('addTracePlan', data, 'post')
	},
	// 删除跟进计划
	deleteTracePlan(id) {
		return request(`deleteTracePlan/${id}`, "", 'get')
    },
    // 编辑跟进计划
	editTracePlan(data) {
		return request(`editTracePlan`, data, 'post')
	}
}
